#include "Viewer.h"
#include"Model.h"
#include<iostream>

Viewer::Viewer(string name) : m_sName(name)
{
}


Viewer::~Viewer(void)
{
}

void Viewer::Update(Model *pModel)
{
	std::cout<<"Hi "+m_sName<<". Model state changed to "<<pModel->GetData()<<std::endl;
}

